
/**   
*    
* ��Ŀ��ƣ�a_yongan   
* ����ƣ�DeptService   
* ��������   
* �����ˣ�liubo   
* ����ʱ�䣺2018��6��5�� ����11:47:46    
* �޸�ʱ�䣺2018��6��5�� ����11:47:46   
* �޸ı�ע��   
* @version    
*    
*/
package com.yongan.user.service;

import java.util.List;

import com.yongan.user.dto.UserExecution;
import com.yongan.user.entity.Dept;
import com.yongan.user.exception.UserException;

/**
 * @author liubo
 *
 */
public interface DeptService {

	List<Dept> getDeptList(int offset,int limit);
	
	Dept getDeptById(String deptId);
	
	UserExecution executeDept(Dept dept,String deptId,String md5) throws UserException;
	
	int getDeptCount(String title,String value);
	
	List<Dept> getDeptListTree();
	
	List<Dept> getDeptListTreeByTopId(String topId,int offset,int limit);
	
	int getCountByTopId(String topId);
}
